package com.ruoyi.member.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家庭成员与音频映射对象 family_member_audio_map
 * 
 * @author ruoyi
 * @date 2025-03-30
 */
public class FamilyMemberAudioMap extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 中间映射记录id */
    private Long id;

    /** 家庭成员id */
    @Excel(name = "家庭成员id")
    private Long familyMemberId;

    /** 音频记录id */
    @Excel(name = "音频记录id")
    private Long audioId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setFamilyMemberId(Long familyMemberId) 
    {
        this.familyMemberId = familyMemberId;
    }

    public Long getFamilyMemberId() 
    {
        return familyMemberId;
    }

    public void setAudioId(Long audioId) 
    {
        this.audioId = audioId;
    }

    public Long getAudioId() 
    {
        return audioId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("familyMemberId", getFamilyMemberId())
            .append("audioId", getAudioId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
